<template>
	<view class="browser-popup" v-if="_show">
		<u-popup :show="_show" mode="top" @close="close" @open="open" zIndex="9999">
			<view class="fboxWrap Xcenter">
				<image src="https://ebc-prod.cdn.benwunet.com/uni-static/activity-year/browser.png" class="browser" alt="" @click="close"></image>
			</view>
		</u-popup>
	</view>
	
</template>
<script>
	
	export default {
		props: {
			show: {
				type: Boolean,
				default: true
			}
		},
		data() {
			return {
				tips: '',
				fromData: {
					mobile: '',
					code: ''
				}
			}
		},
		computed:{
			_show:{
				get(){
					return this.show
				},
				set(val){
					this.$emit('update:show',val)
				}
			}
		},
		methods: {
			open() {
				// console.log('open');
			},
			close() {
				
				this._show = false
				console.log('close');
			},
		}
	}
</script>
<style lang="scss" scoped>
	.browser-popup /deep/.u-popup__content{background: none;}
	.browser{width: 639rpx;height: 400rpx;padding-top: 100rpx;background: none;}
</style>
